package com.spingcloud.web.user.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by Administrator on 2019-09-30.
 */
@Slf4j
@RestController
@RequestMapping("user")
public class UserController {

    @GetMapping("/")
    public String queryUser(){
        log.info("web-demo receive query user request");
        return "user";
    }

}
